home *** CD-ROM | disk | FTP | other *** search
- on wait t
- set wk to the ticks + (t * 60)
- repeat while wk > the ticks
- nothing()
- end repeat
- end
-
- on buttonaction sp
- set the visible of sprite sp to 0
- puppetSound("Laser.aif", 2)
- updateStage()
- wait(1)
- set the visible of sprite sp to 1
- puppetSound(0, 2)
- updateStage()
- end
-
- on buttonaction2 sp
- set the visible of sprite sp to 0
- updateStage()
- wait(0.5)
- set the visible of sprite sp to 1
- updateStage()
- end
-